using UnityEngine;
using System.Collections;

public class BackdropResizer : MonoBehaviour 
{
	Transform thisTransform;
	
	public Texture bgImage;
	public GUITexture bgTexture;
	
	void Awake ()
	{
		thisTransform = transform;
		
		bgTexture.texture = bgImage;
		bgTexture.pixelInset = new Rect( -Screen.width/2, -Screen.height/2, Screen.width, Screen.height );
	}
}
